/*
 * @Description: web端新闻路由
 */
var express = require('express');
const NewsController = require('../../controllers/web/NewsController');
var NewsRouter = express.Router();

NewsRouter.get('/webApi/news/list', NewsController.getList);//获取列表
NewsRouter.get('/webApi/news/list/:id', NewsController.getList);//根据id获取
NewsRouter.get('/webApi/news/topList', NewsController.getTopList);//获取置顶列表 可筛选条数

module.exports = NewsRouter;
